package org.midy.infrastructure;

import java.nio.channels.SelectableChannel;

public interface EventDrivenTaskAllocation {

    boolean allocation(SelectableChannel socketChannel, int selectionKey) throws RuntimeException;
    boolean allocation(SelectableChannel socketChannel, int selectionKey, byte[] writeData) throws RuntimeException;
}
